
#ifndef _MEMBER_BVBOXLAYOUT_H_
#define _MEMBER_BVBOXLAYOUT_H_

#include <BSpring>
#include <BSpacer>
#include <BWidget>
#include <BVBoxLayout>
#include "member_BLayout.h"

#define vboxlayout_member(layout)		((member_BVBoxLayout*)((BVBoxLayout*)layout)->_ptr)

namespace BWE
{
	class BWidget;

	class member_BVBoxLayout : public BObject
	{
	public:
		member_BVBoxLayout(BVBoxLayout* layout);
		~member_BVBoxLayout();

		int countItems();
		int distributeHeight(int remainHeight);

	public:
		BLayout*			boss;
		BArray<LayoutItem>	items;
	};
}

#endif
